#include "about.h"
#include "ui_about.h"
#include "qtq_config.h"
About::About(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::About)
{
    ui->setupUi(this);

    connect(ui->btnClose, SIGNAL(clicked()),SLOT(close()));
    //ui->lblBG = new QClickedLabel(this);
    ui->lblBG->setPixmap(QPixmap(RC_PREFIX "QQTheme/About.PNG")) ;
    //ui->lblBG->setGeometry(0,0, this->width(),this->height() );
    //this->setGeometry(0,0,this->width(),this->height());
}

About::~About()
{
    delete ui;
}

void About::changeEvent(QEvent *e)
{
    QDialog::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
